package com.wsz.user.service.impl;

import com.wsz.pojo.R;
import com.wsz.user.consumer.WebSocketServer;
import com.wsz.user.service.StartGameService;
import org.springframework.stereotype.Service;

@Service
public class StartGameServiceImpl implements StartGameService {

    @Override
    public R startGame(String aId, String bId,String a_bot_id,String b_bot_id) {
        WebSocketServer.startGame(aId,bId,a_bot_id,b_bot_id);
        return R.ok();
    }
}
